import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

/**
 * Generated class for the CompanyCancelPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-company-cancel',
  templateUrl: 'company-cancel.html',
})
export class CompanyCancelPage {
  select : number;
  public list =[];
  public menuShow = false;
  public understanList = {};
  public cancelInfoList = {};
  topBagcan: string = '../../assets/imgs/zx/banner@2x.png';
  logo: string = '../../assets/imgs/logo.png';
  public logoList = '../../assets/imgs/cuLogo/logo@2x.png';//中禄用户
  constructor(public navCtrl: NavController, public navParams: NavParams) {
    this.understanList = {
      "title" : "您必须要了解的事",
      "list" : [
        {"subTitle" : "哪些情况需要注销？", "className" :"listI",learnList:["依法破产","分司解散","营业期限届满" ,"责令关闭"]},
        {"subTitle" : "不注销的危害？","className" :"listII", learnList:["无法担任企业高管","个人征信留下污点",
            "无法办理贷款" ,"进入工商黑名单","出境移民被限制"]}]
    };
    this.cancelInfoList = {
      "title":"您需要准备的注销资料",
      "list":[
        {"id":1,"imgurl" : "../../assets/imgs/zx/icon1@2x.png","content" :"近三年的帐本和凭证"},
        {"id":2,"imgurl" : "../../assets/imgs/zx/icon2@2x.png","content" :"清算设计报告"},
        {"id":3,"imgurl" : "../../assets/imgs/zx/icon3@2x.png","content" :"税控器"},
        {"id":4,"imgurl" : "../../assets/imgs/zx/icon4@2x.png","content" :"剩余发票"},
        {"id":5,"imgurl" : "../../assets/imgs/zx/icon5@2x.png","content" :"公司证件和用章"},
        {"id":6,"imgurl" : "../../assets/imgs/zx/zixun.png","content" :""}
      ]
    };
    this.list=[
      {"id" : 1,"fun" :"goRegister", "name":"公司注册"},
      {"id" : 2,"fun" :"goLicenseagent", "name":"营业执照代办"},
      {"id" : 3,"fun" :"goLogout", "name":"公司注销"},
      {"id" : 4,"fun" :"goCompanyChange", "name":"公司变更"},
    ]
  }
  /*************************页面跳转start*************************/
  goServiceCase(){
    this.navCtrl.push('ServicecasePage');//服务案例
  }
  /*************************页面跳转 end*************************/
  ionViewDidLoad() {
    console.log('ionViewDidLoad CompanyCancelPage');
  }

}
